package com.burgeon.backend.SHOPBACKEND.service;

import com.burgeon.backend.SHOPBACKEND.entity.Brand;
import com.burgeon.backend.SHOPBACKEND.entity.Classify;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;

import java.util.List;

public interface GoodsClassifyService {

    void upBrandTop(String id,String account) throws ErrorDataException;


        //更改序列

    void upBrandNub(String id,Integer nub,String account) throws ErrorDataException;

    void upBrandShow(String id,String isShow);

    List<Brand> getBrand(String account);

    void updateIsShowById(String isShow,String id)throws ErrorDataException;

    List<Classify> showClassify(String account);

    void insertClassify(Classify classify) throws ErrorDataException;//添加商品类型

    void deleteClassify(Integer id) throws ErrorDataException;//根据ID删除商品类型

    void updateClassifyById(Classify classify) throws ErrorDataException;//根据ID修改商品类型
}
